<template>
  <div class="box">
    <router-view></router-view>
  </div>
</template>
<script>
export default {
  components: {},
  data() {
    return {
      contentShow: false //控制面包屑显示
    };
  },
  created: function() {},
  mounted() {},
  methods: {},
  filters: {},
  watch: {
    "$route.path": function(val) {
      if (val.indexOf("content") !== -1) {
        this.contentShow = true;
      } else {
        this.contentShow = false;
      }
    }
  },
  computed: {}
};
</script>
<style scoped>
.box {
  width: 100%;
  height: 100%;
}
.title {
  /* background-color: #f2f2f4; */
  width: 100%;
  height: 30px;
  line-height: 30px;
}
</style>